{literal}
<script type="text/javascript">

function submit_report()
	{
	var check_select = document.getElementById('report_call').value;

	if ( check_select == '__none__' )
	{
		return false;
	}

	xajax_videoReport(xajax.getFormValues("report_form"));
	return false;
}

</script>
{/literal}

<table style="width:100%;" cellpadding="4" cellspacing="4">
<tr>
<td style="width:40%;vertical-align:top;">

	<div style="padding-bottom:8px;font-size:11pt;" class="color">
		<b>{$b.vid_title|escape|clean}</b>
	</div>

	<div style="text-align:center;">
	<table style="margin:auto; font-size:11pt; font-weight:bold;" cellpadding="4" cellspacing="4">
	<tr>
                        <td>		{if $bIsStaff}</td>

		<td>
		
			<a href="javascript:void(0);" onclick="xajax_videoAddFeature('{$b.vid_id}');"><img src="design/pic/red-star-2.gif" alt="" />
		
		</a><u><span id="feature_content_{$b.vid_id}"><a href="javascript:void(0);" onclick="xajax_video{if $b.featured}Remove{else}Add{/if}Feature('{$b.vid_id}', 'feature_content_{$b.vid_id}');">{if $b.featured}{language text='Mod_Video.remove_feature'}{else}{language text='Mod_Video.feature'}{/if}</a></span></u>
		</td>
                        <td>		{/if}</td>

		<td>
		
			<a href="javascript:void(0);" onclick="xajax_videoSaveFavorite('{$b.vid_id}');"><img src="design/pic/icn_save.png" alt="" style="vertical-align:middle;" />
		
		</a><u><a href="javascript:void(0);" onclick="xajax_videoSaveFavorite('{$b.vid_id}');">{language text='Mod_Video.save'}</a></u>
		</td>
		<td>
		
			<a href="javascript:void(0);" onclick="Effect.SlideDown('share_video');"><img src="design/pic/icn_share.png" alt="" style="vertical-align:middle;" />
		
		</a><u><a href="javascript:void(0);" onclick="Effect.SlideDown('share_video');">{language text='Mod_Video.share'}</a></u>
		</td>
		<td>
		
			<a href="javascript:void(0);" onclick="Effect.SlideDown('report_video');"><img src="design/pic/icn_report.png" alt="" style="vertical-align:middle;" />
		
		</a><u><a href="javascript:void(0);" onclick="Effect.SlideDown('report_video');">{language text='Mod_Video.report'}</a></u>
		</td>
	</tr>
	</table>
	</div>

	<div id="share_video" class="border13" style="padding:8px; display:none;">
		<div style="float:right;">
			(<a href="javascript:void(0);" onclick="Effect.SlideUp('share_video');">{language text='Mod_Video.close'}</a>)
		</div>
	     <div style="padding-bottom:10px;font-size:11pt;">
        	<b><u>{language text='Mod_Video.user_search_tool'}</u></b>
		</div>
		{Account::AjaxFriendsSearch aParams=$aAjaxArray sContent='Mod_Video.click.invite' sValue='Mod_Video.shared_done'}
	</div>

	<div id="report_video" class="border13" style="padding:8px; display:none;">
		<div style="float:right;">
			(<a href="javascript:void(0);" onclick="Effect.SlideUp('report_video');">{language text='Mod_Video.close'}</a>)
		</div>

		<form method="post" action="{url link='current'}" onsubmit="return submit_report();" id="report_form" name="report_form">
		<div><input type="hidden" name="report_id" value="{$b.vid_id}" /></div>
		<span style="font-size:10pt; font-weight:bold;">{language text='Mod_Video.report_title'}</span>
		<div style="padding:8px;">
			{language text='Mod_Video.report_notice'}
			<br />
			<br />
			<select name="report_call" id="report_call">
			<option value="__none__">{language text='Mod_Video.choose_reason'}</option>
			{html_options options=$aWarnings}
			</select>
			<input type="submit" value="{language text='Mod_Video.flag_video'}" style="cursor:pointer;" />
		</div>
		</form>
	</div>


	<br />

	<table style="font-size:10pt;">
	<tr>
		<td class="color" style="vertical-align:top;">
		{language text='Mod_Video.rate'}:
		</td>
		<td style="vertical-align:top;">
			{Video::Rating aItem=$b}
		</td>
	</tr>
	</table>
	<br />
	{bookmarks}
	<br />

	<div class="border2">

	<div style="padding:8px;font-size:8pt;" class="border13">
		<img src="design/pic/spacer.gif" class="sqr" style="vertical-align:middle;" alt="" width="7" height="7" />
		<b><u>{language text='Mod_Video.vid.details'}</u></b>
	</div>
	{if !empty($vidInfo)}
	<div style="padding:8px;" class="color">
		{$vidInfo|process_code}
	</div>
	<br />
	{/if}
	<table style="width:100%;font-size:8pt;" class="color">
		<tr><td style="width:20%;text-align:right;"><b>{language text='Mod_Video.add.by'}</b>:</td><td style="width:80%;"><a href="{url link='public.user' name=$b.user}">{$b.user}</a></td></tr>
                    <td>		{if $b.list_name}</td>
                    <td></td>
                </tr>
<tr><td style="width:20%;text-align:right;"><b>{language text='Mod_Video.category.ucfirst'}</b>:</td><td style="width:80%;"><a href="{url link='public.videos' listid=$b.list_id foxseotitle=$b.list_name}">{$b.list_name}</a></td></tr>
                <td>{/if}</td>
                <td></td>
            </tr>

		<tr><td style="width:20%;text-align:right;"><b>{language text='Mod_Video.added.on'}</b>:</td><td style="width:80%;"> {$b.vid_time|date_format:$sDateTimeFormat}</td></tr>
		<tr><td style="width:20%;text-align:right;"><b>{language text='Mod_Video.views'}</b>:</td><td style="width:80%;"> {$b.vid_total}</td></tr>
            <td>		{if $b.vid_tags}</td>
            <td></td>
        </tr>

		<tr><td style="width:20%;text-align:right;"><b>{language text='Mod_Video.tags'}</b>:</td><td style="width:80%;"> {$b.vid_tags|tags:'public.videos'}</td></tr>
        <td>		{/if}
		{if getParam('allow_embed')}</td>
        <td></td>
    </tr>

		<tr><td style="width:20%;text-align:right;"><b>{language text='Mod_Video.url'}</b>:</td><td style="width:80%;"><input onclick="this.select();" type="text" name="url" value="{$b.url}" size="35" /></td></tr>
		<tr><td style="width:20%;text-align:right;"><b>{language text='Mod_Video.embed'}</b>:</td><td style="width:80%;"><input onclick="this.select();" type="text" name="url" value="{$b.embed}" size="35" /></td></tr>
    <td>		{/if}</td>
    <td></td>
</tr>

	</table>

	</div>

	<br />
		<table style="width: 100%;" cellpadding="4" cellspacing="0">
		<tr>
    		<td>
        		<table style="width: 100%;" class="mainmenu5" cellpadding="0" cellspacing="0" border="0">
            	<tr>
        		    <td width="7"><img src="design/pic/spacer.gif" class="sqr1" alt="" height="7" width="7" /></td>
        		    <td class="block_header">{language text="members_comments"}</td>
        		</tr>
        		</table>
	        	<table style="width:100%;" border="0" cellspacing="0" cellpadding="0">
            	<tr>
    	    	    <td style="width:2%;"></td>
            	    <td style="width:98%;font-size:8pt;vertical-align:middle;font-size:8pt;" class="color">
        		        <br />
        		        {Comments::AddForm type='video' alert_id=$b.vid_userid}
        		        <br />
        		     	<a name="comment"></a>
        		     	<div id="new_comment">{Comments::List type='video' type='video' page=0 useajax=true totalCount=$b.comments}</div>
						<div id="ajax_comment_loader" style="display:none; font-size:10pt; font-weight:bold; padding:8px; text-align:center; display:none;">
							<img src="design/pic/loader.gif" alt="" style="vertical-align:middle;" /> {language text='Mod_Video.loading.videos'}
						</div>
            	    	<div id="comment_content" style="display:none;"></div>
            	    </td>
            	</tr>
        		</table>
				<br/>
    	</td>
		</tr>
		</table>
	<br />
</td><td style="width:40%;vertical-align:top;">
	<div style="padding-bottom:8px;font-size:11pt;" class="color">
	{videoplayer url=$vidUrl width='400' height='320'}
	</div>
	{Video::MyVideos aItem=$b sType='page'}
	<br />
	{Tag::List type='videos'}
	<br />
	{Video::Related search=$b.vid_title vidid=$b.vid_id}

</td>
<td style="width:20%;vertical-align:top;">
 <p>{include file='../../public/_banner-right.html'}</p>
</td>
</tr>
</table>
<br />